package com.example.demo3.service;

import com.example.demo3.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo3.util.Result;

import java.util.List;

/**
* @author JYY
* @description 针对表【user】的数据库操作Service
* @createDate 2024-09-18 10:15:34
*/
public interface UserService extends IService<User> {

    List<User> select();

    Result login(User user);

    Result register(User user);

    Result exit(String token);

    Result selectList(User user);

    Result add(User user);

    Result selectAccount(String userAccount);

    Result delect(Integer id);

    Result updateUser(User user);
}
